<template>
    <el-select 
        v-model="searchType"
        placeholder="请选择" class="filter"
    >
        <el-option
            v-for="(typeItem,typeIndex) of searchTypeList"
            :key="typeItem.value"
            :value="typeItem.value"
            :label="typeItem.name"
        ></el-option>
    </el-select>
</template>

<script>
export default {
    name: 'options-list',
    props: ['searchTypeList','searchType']
}
</script>

<style>

</style>